//
//  PassagewayInfoCell.h
//  efairy
//
//  Created by 李锋 on 2019/1/18.
//  Copyright © 2019年 East. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DeviceListModel.h"

NS_ASSUME_NONNULL_BEGIN
@protocol btnClickedDelegate <NSObject>
//  cell中的submit的点击事件方法，在协议中定义，在viewController中
-(void)cellSubmitClicked:(NSMutableArray<UITextField *>*)uiTextFileArray;
@end

@interface PassagewayInfoCell : UITableViewCell
@property(nonatomic,strong) UIView *passageway;//通道数据标题
@property(nonatomic,strong) UITextField *pName;//通道数据标题
@property(nonatomic,strong) UILabel *pValue;//通道数据标题
@property(nonatomic,strong) UIView *cancelView;//取消
@property(nonatomic,strong) UIView *submitView;//提交
@property(nonatomic,strong) UIView *editView;//编辑
@property (nonatomic, strong) NSMutableArray<UITextField *> *textFileArray;
@property (nonatomic, strong) NSMutableArray<NSString *> *textFileValue;
-(void)setModeDatas:(PassagewayInfo *)data;
-(void)setModeAllDatas:(NSMutableArray<PassagewayInfo *>*)data;
@property (nonatomic,weak) id<btnClickedDelegate>  btnDelegate;
@end

NS_ASSUME_NONNULL_END
